home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
led
/
ledvb25
/
ledmdi.frm
< prev
next >
Wrap
Text File
|
1996-01-16
|
2KB
|
100 lines
VERSION 2.00
Begin MDIForm MDIForm1
Caption = "LED Custom Control"
ClientHeight = 5655
ClientLeft = 1290
ClientTop = 2610
ClientWidth = 8835
Height = 6345
Icon = LEDMDI.FRX:0000
Left = 1230
LinkTopic = "MDIForm1"
Top = 1980
Width = 8955
WindowState = 2 'Maximized
Begin Menu mnu
Caption = "&Demo"
Index = 0
Begin Menu demo
Caption = "&Properties"
Index = 0
End
Begin Menu demo
Caption = "&Styles/Bitmaps"
Index = 1
End
Begin Menu demo
Caption = "-"
Index = 2
End
Begin Menu demo
Caption = "&Examples"
Index = 3
End
End
Begin Menu mnu
Caption = "&Help"
Index = 1
Begin Menu help
Caption = "About LED"
Index = 0
End
Begin Menu help
Caption = "LED Control"
Index = 1
End
Begin Menu help
Caption = "All GMS Controls"
Index = 2
End
End
Begin Menu mnu
Caption = "&Order"
Index = 2
End
Begin Menu mnu
Caption = "E&xit"
Index = 3
End
End
Sub demo_Click (index As Integer)
Select Case index
Case 0
ledcontrol.Show
Case 1
ledstyles.Show
Case 3
Examples.Show
End Select
End Sub
Sub help_Click (index As Integer)
Select Case index
Case 0 'about
About.Show
Case 1 'control
i = Shell("WINHELP led.hlp", 1)
Case 2 'library
i = Shell("WINHELP instrmlb.hlp", 1)
End Select
End Sub
Sub MDIForm_Load ()
About.Show
End Sub
Sub mnu_Click (index As Integer)
If index = 2 Then i = Shell("WINHELP order.hlp", 1)
If index = 3 Then End
End Sub